require.config({
    baseUrl: 'single/lib',
    paths: {
        app: '../app'
    }
});

require(['app/main']);